package com.halflife.comeElectricity.member.rider;

import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Repository
public interface PayLogRepository {
    int deleteByPrimaryKey(Integer id);

    int insert(PayLog record);

    int insertSelective(PayLog record);

    PayLog selectByPrimaryKey(Integer id);

    List<PayLog> selectListByPage(Map<String, Object> map);

    List<PayLog> selectAll(Map<String, Object> map);

    int selectCount(Map<String, Object> map);

    BigDecimal getMyMoney(Integer riderId);
    int updateByPrimaryKeySelective(PayLog record);

    int updateByPrimaryKey(PayLog record);

}